package com.qike.duola.config;

/**
 * @Author: Eric.zhou
 * @Date: 2019/7/23 10:56
 */
public class Constant {


    /**
     * 获取钉钉token
     */
    public static final String TOKEN_URL = "https://oapi.dingtalk.com/gettoken";

    /**
     * 发送工作消息
     */
    public static final String MESSAGE_URL = "https://oapi.dingtalk.com/topapi/message/corpconversation/asyncsend_v2";
    /**
     * 部门列表
     */
    public static final String DEPARTMENT_URL = "https://oapi.dingtalk.com/department/list";
    /**
     * 部门获取用户列表
     */
    public static final String DEPARTMENT_USER_URL = "https://oapi.dingtalk.com/user/simplelist";

    /**
     * 发起审批实例的接口url
     */
    public static final String URL_PROCESSINSTANCE_START = "https://oapi.dingtalk.com/topapi/processinstance/create";

    /**
     * 审批模板唯一标识，可以在审批管理后台找到
     */
    public static final String PROCESS_CODE = "PROC-91393611-0C3F-42DC-9B12-A8283D92E32A";

    public static final String RETUNRN_PROCESS_CODE = "PROC-6D5E4F31-35C7-4935-A0D8-A4D9268FC5AD";
    public static final String PERSON_PROCESS_CODE = "PROC-DD1E862F-D04A-4302-9548-8BB2EBE6F964";
    public static final String CARRYOVER_PROCESS_CODE = "PROC-B5408E86-805A-40EE-B7F0-77F69C21F672";
    public static final String PERSON_CERT_PROCESS_CODE = "PROC-A5029DFB-4EAB-4339-9A5D-9BB2FBA12055";
    //ccf审批
    public static final String CCF_PROCESS_CODE = "PROC-4BB7F362-29B8-401C-8FE2-D04F5DEA238F";
    //财务审批
    public static final String REFUND_PROCESS_CODE = "PROC-2C6F3EAE-325F-4103-8A61-6F1A6358658E";


    /**
     * 删除企业回调接口url
     */
    public static final String DELETE_CALLBACK = "https://oapi.dingtalk.com/call_back/delete_call_back";

    /**
     * 注册企业回调接口url
     */
    public static final String REGISTER_CALLBACK = "https://oapi.dingtalk.com/call_back/register_call_back";

    /**
     * 回调host
     */
//    public static final String CALLBACK_URL_HOST = "http://zdw.free.idcfengye.com";
//    public static final String CALLBACK_URL_HOST = "http://52.81.57.143:9029";
//    public static final String CALLBACK_URL_HOST = "http://54.223.51.85:9029";
    public static final String CALLBACK_URL_HOST = "http://52.80.214.61:9029";

    /**
     * 数据加密密钥。用于回调数据的加密，长度固定为43个字符，从a-z, A-Z, 0-9共62个字符中选取,您可以随机生成
     */
    public static final String ENCODING_AES_KEY = "09dZ8xvzs3307xKgRgH7F9In0c2R385PJ7Y55224676";


    /**
     * 加解密需要用到的token，企业可以随机填写。如 "12345"
     */
    public static final String TOKEN = "12345";

    /**
     * 企业corpid, 需要修改成开发者所在企业
     */
    public static final String CORP_ID = "ding97511d4dd82c9b2c35c2f4657eb6378f";

}
